package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.domain.entity.PaasMenuEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author haibin.zhang
 * @version v1.0
 * @date 2019/1/22 13:04
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class FormBatchAddDTO {
    /**
     * 应用id
     */
    @NotNull(message = "{dto.msg.formBatchAdd.appId.NotNull}")
    private Long appId;

    /**
     * 菜单列表
     */
    private List<PaasMenuEntity> menuList;

    /**
     * 应用alias
     */
    private String appAlias;
}
